package cn.tedu.tmall.admin.content.dao.persist.repository;

import cn.tedu.tmall.admin.content.pojo.entity.Category;
import cn.tedu.tmall.admin.content.pojo.vo.CategoryStandardVO;

public interface ICategoryRepository {

    int insert(Category category);

    int countByName(String name);

    int updateById(Category category);

    CategoryStandardVO getStandardById(Long id);
}
